package com.foreknow.dao.impl;

import com.foreknow.dao.GuestbookDao;
import com.foreknow.model.Guestbook;

public class GuestbookDaoImpl implements GuestbookDao {
    @Override
    public Guestbook login(String name, String pass) {
        System.out.println(name);
        return null;
    }

    @Override
    public boolean register(Guestbook guestbook) {
        return false;
    }

    @Override
    public Guestbook getQueryById(int id) {
        System.out.println("1111111111111111111");
        return null;
    }

    @Override
    public boolean deleteById(int id) {
        return false;
    }

    @Override
    public Guestbook[] getAll() {
        return new Guestbook[0];
    }

    @Override
    public boolean update(Guestbook guestbook) {
        return false;
    }

    public static void main(String[] args) {
        GuestbookDao dao = new GuestbookDaoImpl();
        dao.getQueryById(1);
    }
}
